<!doctype html>
<html>
{include file="head.html"}

<body>
  <script src="{$skins}js/jquery.blocksit.min.js"></script>
<div class="fullscreen">
  <div class="scroll_content">
    <div class="topfixed">
      <div class="t_left"><a href="/index.php?m=tejia"><i class="back"></i></a></div>
      <div class="t_main">商品详情</div>
      
    </div>
    <div class="paddingheight"></div>
    <div class="comblock">
      <div class="flexslider">
      {get data=imgsdata model=imgs fun=get("tejia","$product.id")}
     
        <ul class="slides clearfix">
         {if $imgsdata}
        {foreach item=c from=$imgsdata}
          <li><a href="javascript:;"><img class="img" src="{$c.imgurl|images_site}"></a> </li>
        {/foreach}
        {else}
        	 <li><a href="javascript:;"><img class="img" src="{$product.imgurl|images_site}.middle.jpg" onerror="error_img_url(this,2)"></a> </li>
        {/if}
        </ul>
      </div>
      <div class="product_show" style="position:relative;">
        <p class="tit">{$product.title}</p>
        <p class="price">价格：￥<b class="red">{$product.price}</b></p>
        <p class="num"> 本月已售：{$product.buy_num} 份
        
        </p>
        <a href="/index.php?m=tejia_order&a=buy&id={$product.id}" style="float:right; position:absolute; bottom:5px; right:10px; display:inline-block; padding:6px 10px; background-color:#FF4600; text-decoration:none; color:#fff; border-radius:5px; margin-bottom:10px;">立即抢购</a> 
      </div>
    </div>
    
    <div class="comblock"> 产品详情：<br>
   {$product.content}
    </div>
  </div>
</div>
 
 
 {include file="footer.html"} 
</body>
</html>
